package pl.edu.agh.neuraleconomy.core.experiment.statistics;

import java.io.File;
import java.util.Date;
import java.util.List;

import pl.edu.agh.neuraleconomy.core.simulation.SimulationEngine;
import pl.edu.agh.neuraleconomy.core.simulation.Transaction;
import pl.edu.agh.neuraleconomy.core.ta.advice.Advice;

public class WealthValueStatistic extends SaveToFileStatistic{

	public WealthValueStatistic(File dir, String fileName) {
		super(dir, fileName);
	}

	@Override
	protected String iterationString(Date date, SimulationEngine simulation, List<Advice> advices, List<Transaction> transactionsMade) {
		return String.valueOf(simulation.getWealth());
	}

}
